//
//  EvaluateModel.m
//  wtshoppingcite
//
//  Created by TW on 14-11-21.
//  Copyright (c) 2014年 TW. All rights reserved.
//

#import "EvaluateModel.h"


@implementation EvaluateModel

- (id)initWithEvaluateInfo:(NSDictionary *)info{
    if(self = [super init]){
//        id nickName = [info objectForKey:@"nickName"];
//        self.nickName = ObjToString(nickName);
        
        id time = [info objectForKey:@"createTime"];
        self.time = ObjToString(time);
        
        id avatar = [info objectForKey:@"userIcon"];
        self.avatar = ObjToString(avatar);
        
        id level = [info objectForKey:@"level"];
        self.level = ObjToString(level);
        
        id comment = [info objectForKey:@"evaluateContent"];
        self.comment = ObjToString(comment);
        
    }
    return self;
}

@end
